package com.example.restaurant.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.restaurant.controller.form.ModifyDishNumberByStatusForm;
import com.example.restaurant.model.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.restaurant.service.dto.GetOrderOperateDto;
import com.example.restaurant.service.dto.PageOrderInfoDto;
import com.example.restaurant.service.param.AddOrderInfoParam;
import com.example.restaurant.service.param.QueryOrderInfoParam;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 * 订单详情表 服务类
 * </p>
 *
 * @author x
 * @since 2022-09-29
 */
public interface OrderInfoService extends IService<OrderInfo> {
    void addOrderInfo(AddOrderInfoParam param);
    Page<OrderInfo> queryOrderInfo(String orderNumber,Integer current,Integer size);
    void modifyOrderNumber(ModifyDishNumberByStatusForm form);
}
